package be.redo.finders;

import java.util.Date;
import java.util.List;

import be.redo.model.entities.AirlineCompany;
import be.redo.model.entities.Flight;
import be.redo.model.entities.Line;

public interface FlightFinders {

	List<Flight> findFlightsByAirlineCompany(AirlineCompany airlineCompany);

	List<Flight> findFlightsByDepartureTimeBetween(Date lowerTime,
			Date higherTime);

	List<Flight> findFlightsByDepartureTimeEquals(Date departureTime);

	List<Flight> findFlightsByLine(Line line);

	List<Flight> findFlightsByFlightCodeLike(String flightCode);

	List<Flight> findFlightsByLineWhereDepartureIsLaterThan(Line line, Date time);
}
